import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    chartsData: null,
    chartsValue: null,
  },
  mutations: {
    ChartData(state, value) {
      state.chartsData = value;
    },
    ChartValue(state, value) {
      state.chartsValue = value;
    },
  },
  actions: {
  },
  modules: {
  }
})
